#include "stdafx.h"
#include "PeopleBaseData.h"

std::string PeopleBaseData::getBirth()
{
	return m_strBirth;
}

void PeopleBaseData::setBirth(const std::string &strBirth)
{
	m_strBirth = strBirth;
}


//int PeopleBaseData::getBirthYear()
//{
//	return m_nYear;
//}
//
//void PeopleBaseData::setBirthYear(int nYear)
//{
//	m_nYear = nYear;
//}
//
//int PeopleBaseData::getBirthMonth()
//{
//	return m_nMonth;
//}
//
//void PeopleBaseData::setBirthMonth(int nMonth)
//{
//	m_nMonth = nMonth;
//}
//
//int PeopleBaseData::getBirthDay()
//{
//	return m_nDay;
//}
//
//void PeopleBaseData::setBirthDay(int nDay)
//{
//	m_nDay = nDay;
//}

void PeopleBaseData::setSex(bool b)
{
	m_bSex = b;
}

bool PeopleBaseData::getSex()
{
	return m_bSex;
}

std::string PeopleBaseData::getName()
{
	return m_strName;
}

void PeopleBaseData::setName(const std::string& strName)
{
	m_strName = strName;
}

int PeopleBaseData::getID()
{
	return m_nID;
}

void PeopleBaseData::setID(int nID)
{
	m_nID = nID;
}

int PeopleBaseData::getAge()
{
	return m_nAge;
}

void PeopleBaseData::setAge(int nAge)
{
	m_nAge =  nAge;
}
